package com.g5kj.coupon.ssm.dao;

import com.g5kj.coupon.ssm.model.ArticleEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by apple on 2017/5/17.
 */
public interface ArticleDao {

    int addArticel(ArticleEntity entity);
    int update(ArticleEntity entity);

    List<ArticleEntity> getList(@Param("page")int page,@Param("startTime") String startTime,
                                @Param("endTime")String lastTime,@Param("keyValue") String keyValue,
                                @Param("order") String order, @Param("sort")int sort);
}
